#ifndef __DBROLE_ENTER_SUCCESSRECIEVER_H__
#define __DBROLE_ENTER_SUCCESSRECIEVER_H__

#include "gwmessagetab.hpp"
#include "IMessageOperator.h"
#include "protonet.hpp"
#include "../DBServerTab.h"

/**
*@file       DBRole_Enter_SuccessReciever.h
*@brief      process message DBRole_Enter_Success
*
*@author     graywind
*@version    1.0.0.0
*@data       2012/3/26
*/

///process message
class OnDBRole_Enter_Success
{
public:
    ///@brief    process message
    ///param[in] op            operator type
    ///param[in] session_id    identifier of session
    ///param[in] pMsgBuffer    message buffer
    ///param[in] msg_bytes     byte length of message buffer
    ///retval    void
    static void OnMapping(IMessageOperator* op, int session_id, void* pMsgBuffer, unsigned long msg_bytes)
    {
        //TODO
    }
};

///[message group]  [message type]  [function table] [handler]
RegisterMessageTab(DBServerTypes, DBRole_Enter_Success, DBServerTab, OnDBRole_Enter_Success);
#endif
